package com.logis.ryanrqwork;

import android.app.Application;

import com.logis.ryanrqwork.dao.WinesShap;
import com.logis.ryanrqwork.daoutil.WinesShapDaoController;

public class MyApplication extends Application {
    @Override
    public void onCreate() {
        super.onCreate();
        initData();
    }
    private void initData(){
        WinesShapDaoController.updateWines(this,new WinesShap(2001L,"富驿时尚酒店(北京燕莎店)","https://ss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=2636935200,3996858078&fm=26&gp=0.jpg",
                "北京市朝阳区麦子店西街39号",4,"434"));
        WinesShapDaoController.updateWines(this,new WinesShap(2002L,"贵都大酒店","https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1581748322291&di=beb39927bfc763367b4902f3f1718a4d&imgtype=0&src=http%3A%2F%2Fwww.xiujukoo.com%2Fupimg%2Fallimg%2F160323%2F0319301.jpg",
                "北京市西城区广安门内大街217号",5,"200"));
        WinesShapDaoController.updateWines(this,new WinesShap(2003L,"有家青年旅舍","https://ss0.bdstatic.com/70cFuHSh_Q1YnxGkpoWK1HF6hhy/it/u=2148217526,3247975080&fm=26&gp=0.jpg",
                "北京市朝阳区金台里10号楼",3,"89"));
        WinesShapDaoController.updateWines(this,new WinesShap(2004L,"汉庭酒店","https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1581748349773&di=29f4f6e9bace0e971318cf75d8268ec1&imgtype=0&src=http%3A%2F%2Fpic31.nipic.com%2F20130630%2F12887387_154553049000_2.jpg",
                "北京市朝阳区农展馆南里12号院5号楼",4,"227"));
        WinesShapDaoController.updateWines(this,new WinesShap(2005L,"金宝花园酒店","https://ss3.bdstatic.com/70cFv8Sh_Q1YnxGkpoWK1HF6hhy/it/u=3297758266,1702833873&fm=11&gp=0.jpg",
                "北京市顺义区安北路金宝花园",5,"324"));
        WinesShapDaoController.updateWines(this,new WinesShap(2006L,"布丁酒店","https://ss1.bdstatic.com/70cFuXSh_Q1YnxGkpoWK1HF6hhy/it/u=4167911841,1855551636&fm=11&gp=0.jpg",
                "北京市朝阳区十里堡综合楼1层、3-6层",4,"193"));
    }
}
